<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title></title>
<#include "/jeecms_sys/head.html"/>
<script type="text/javascript">
function getTableForm() {
	return document.getElementById('queryForm');
}
function optDelete() {
	if(Pn.checkedCount('ids')<=0) {
		alert("<@s.m 'error.checkRecord'/>");
		return;
	}
	if(!confirm("<@s.m 'global.confirm.delete'/>")) {
		return;
	}
	var f = document.getElementById('tableForm');
	f.action="o_delete.do";
	f.submit();
}
</script>
</head>
<body>
<div class="box-positon">
	<div class="rpos"><@s.m "global.position"/>: 用户积分查询 - <@s.m "global.list"/></div>
	<div class="clear"></div>
</div>
<div class="body-box">
<form action="v_listUserScore.do" method="post" style="padding-top:5px;" id="queryForm">
<div>
用户名称：<input type="text" name="userName" value="${userName!}" style="width:100px"/>
手机号 ：<input type="text" name="phoneNo" value="${phoneNo!}" style="width:100px"/>
<input class="query" type="submit" value="<@s.m "global.query"/>"/>
<input type="hidden" name="pageNo" value="${pageNo!}"/>
</div>
</form>
<form id="tableForm" method="post">
<@p.table value=pagination;userAccount,i,has_next><#rt/>
	<@p.column code="用户名">${userAccount.user.name!}</@p.column><#t/>
	<@p.column code="手机号">${userAccount.user.mobile!}</@p.column><#t/>
	<@p.column code="积分">${userAccount.score!}</@p.column><#t/>
</@p.table>
</form>
</div>
<script type="text/javascript">
function _gotoPage(pageNo) {
	try{
		var tableForm = getTableForm();
		$("input[name=pageNo]").val(pageNo);
		tableForm.action="v_listUserScore.do";
		tableForm.onsubmit=null;
		tableForm.submit();
	} catch(e) {
		alert('_gotoPage(pageNo)方法出错');
	}
}
</script>
<#include "/common/alert_message.html"/>
</body>
</html>